<?php
require_once('../../model/cruds.php');
include('../../config/config.php');

$nip=$_POST['nip'];
$nama=$_POST['namalengkap'];
$password=$_POST['password'];
$team=$_POST['team'];
$departemen=$_POST['departemen'];



$pegawai = new CRUDS();
$pegawai -> set_table ('biodata');

$arr = array(
	
	'NIP' => "'".$nip."'",
	'NAMA' => "'".$nama."'",
	'PASSWORD' => "'".$password."'",
	'TEAM' => "'".$team."'",
	'DEPARTEMEN' => "'".$departemen."'",
	
	
	
);
$pegawai->insert($arr);	

?>